<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib uri="/struts-tags" prefix="s"%>



<div class="">
	<table width="570" height="19" border="0" align="center"
		cellpadding="0" cellspacing="0">
		<tr>
			<td></td>
			<td align="right">
				<span class="top_jd"> <a target="_blank"
					href="<s:property value="mainPageInfoMap[15][0]" />">网站导航</a> ↑ <a
					target="_blank"
					href="<s:property value="mainPageInfoMap[16][0]" />">联系我们</a> </span>
			</td>
		</tr>
	</table>


	<table class="nav_jd" width="570" height="25" border="0" align="center"
		cellpadding="0" cellspacing="0">


		<tr>
		   <!-- 首页 -->
    <td width="70" align="center" >
	<div style="position:absolute;text-align:left; font-size:20px; font-family:微软雅黑,黑体,宋体,新宋体; color:#0e587e; margin-top:-5px;" onmouseover="show('is_show')" onmouseout="closes('is_show')"><a href="mainpageInfo.action"><div style="width:60px; height:20px;   "></div></a>
	<div style=" position:relative; display:none;  border:0; padding-top:7px; color:#FFFFFF;text-align:center; width:320px; height:32px;font-size:12px; " id="is_show"></div></div>
	</td>
		
			<s:iterator value="mainPageInfoMap[100]" var="list" status="mst">
				<s:set name="count" value="mainPageInfoMap[100].size()"></s:set>
				<s:set name="allWidth" value="500"></s:set>
				<s:set name="columnWidth" value="@com.digigraphic.mainpage.action.MainpageAction@formatNumber(#allWidth*0.72/#count)"></s:set>
				<s:set name="flagWidth" value="@com.digigraphic.mainpage.action.MainpageAction@formatNumber(#allWidth*0.2/#count)"></s:set>
				<td width="<s:property value="#flagWidth"/>px" align="center" ><div style="position: absolute;cursor: move; text-align: center; font-size: 12px; font-family: 微软雅黑, 黑体, 宋体, 新宋体; color: #666;"><b>/</b></div></td>
				<s:set name="cid" value="#list.parentId"></s:set>
					<td width="<s:property value="#columnWidth"/>px" align="center">
					<s:if test="#list.haveChild == 1">
							<div
							style="position: absolute; text-align: left; font-size: 14px; font-family: 微软雅黑, 黑体, 宋体, 新宋体; color: #666;"
							onmouseover="show('is_show<s:property value="#cid"/>')" onmouseout="closes('is_show<s:property value="#cid"/>')">
						</s:if>
						<s:else>
							<div onclick="goAction('<s:property value="#list.content"/>','<s:property value="#list.name"/>')" 
							style="position: absolute; text-align: left; font-size: 14px; font-family: 微软雅黑, 黑体, 宋体, 新宋体; color: #666;">
						</s:else>	
							<a>
								<div style="width: <s:property value="#columnWidth-2"/>px; height: 20px; font-size:14px; text-align:left;   border:0;">
									<B><s:property value="#list.name"/></B>
								</div>
							</a>
							
							<s:if test="#mst.Last">
								<div
								style="position:relative;  display:none;  border:0; right:185px; padding-top:7px; color:#FFFFFF;text-align:center; width:260px; height:26px; background: url(web/pages/images/div02.gif) no-repeat; font-size: 12px;"
								id="is_show<s:property value="#cid"/>">
							</s:if>
							<s:else>
									<div style="position: relative; display: none; border: 0; right: 10px; * right: 10px; _right: 20px; padding-top: 7px; color: #FFFFFF; text-align: center; width: 260px; height: 26px; background: url(web/pages/images/div01.gif) no-repeat; font-size: 12px;"
									id="is_show<s:property value="#cid"/>">
							</s:else>
						
								<s:iterator value="mainPageInfoMap[#cid]" var="tp" status="st">
									<a style="color: #FFFFFF;"
										onclick="goAction('<s:property value="#tp.actionPath" escape="false"/>','<s:property  value="#tp.className" escape="false"/>')"><s:property value="#tp.className" />
									</a>&nbsp; 
								</s:iterator>

							</div>
						</div>
					</td>
					
			</s:iterator>
		</tr>

	</table>
</div>
